package ventanas;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.ListModel;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class BajaDeposito extends javax.swing.JFrame {
	private JList ListaMovimientos;
	private JButton btnCancelar;
	private JButton btnAceptar;
	private JButton btnCargaMovimiento;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				BajaDeposito inst = new BajaDeposito();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public BajaDeposito() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			{
				ListModel ListaMovimientosModel = 
					new DefaultComboBoxModel(
							new String[] { "Item One", "Item Two" });
				ListaMovimientos = new JList();
				getContentPane().add(ListaMovimientos);
				ListaMovimientos.setModel(ListaMovimientosModel);
				ListaMovimientos.setBounds(38, 48, 309, 149);
			}
			{
				btnCargaMovimiento = new JButton();
				getContentPane().add(btnCargaMovimiento);
				btnCargaMovimiento.setText("Cargar Movimientos");
				btnCargaMovimiento.setBounds(38, 12, 164, 22);
			}
			{
				btnAceptar = new JButton();
				getContentPane().add(btnAceptar);
				btnAceptar.setText("Aceptar");
				btnAceptar.setBounds(254, 216, 93, 24);
			}
			{
				btnCancelar = new JButton();
				getContentPane().add(btnCancelar);
				btnCancelar.setText("Cancelar");
				btnCancelar.setBounds(151, 216, 92, 24);
			}
			pack();
			setSize(400, 300);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
